
#ifndef _DIODE_H_
#define _DIODE_H_
#include "hc32_ll.h"


/* LED Port/Pin definition */
#define DIODE_PORT          (GPIO_PORT_A)
#define DIODE_PIN           (GPIO_PIN_12)//12

/* LED toggle definition */
#define DIODE_TOGGLE()      (GPIO_TogglePins(DIODE_PORT, DIODE_PIN))
#define DIODE_L 		GPIO_ResetPins(DIODE_PORT, DIODE_PIN) 
#define DIODE_H 		GPIO_SetPins(DIODE_PORT, DIODE_PIN) 	


void diodeInit(void);





#endif

